Repository navigation
Add CI build, tests, and security scanning - #4
Merged
Merged
Conversation
- Build workflow restores, builds, and runs tests on pull requests and pushes to main. NuGetAudit already fails restore on high or critical advisories; a final step lists lower-severity ones. - CodeQL scans the C# code (security-extended) and the workflows. - Dependency review fails pull requests that add a dependency with a high or critical advisory. - Dependabot also updates pinned GitHub Actions and groups test package updates. - Tests that call Deezer are tagged Live and skipped in CI. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The SDK pin step's plain scalar contained ": ", which YAML parses as a mapping, so GitHub rejected the whole workflow. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DeezNET had no CI, so Dependabot pull requests were never built or tested, and the NuGet audit settings only took effect in local builds.
Changes
build.yml): restores, builds the solution in Release, and runs the tests on pull requests and pushes tomain. Restore fails on high or critical advisories through the existing NuGetAudit settings; a final step lists lower-severity ones. Uses the same pinned SDK as Lidarr.Plugin.Deezer.codeql.yml): scans the C# code withsecurity-extendedand scans the workflows themselves, on every pull request, on pushes tomain, and weekly.UnshortenURLTest,GetAssociatedTracksTest) are taggedLiveand skipped in CI. The unshorten tests likely fail anyway, sincedeezer.page.linkwas hosted on Firebase Dynamic Links, which shut down in 2025.Action versions and settings match Lidarr.Plugin.Deezer's workflows.
🤖 Generated with Claude Code